Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Limit the Number of Automatic Logins (Windows NT/2000/XP)
Category: Home > Security > Login and Authentication

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

This setting is used to limit the number of automatic logins, once the limit has been reached the auto logon feature will be disabled and the system will display the standard authentication box.

Open your registry and find the key below.

Create a new DWORD value, or modify the existing value called 'AutoLogonCount' using the settings below.

Exit your registry, you may need to restart or log out of Windows for the change to take effect.

Note: This value is a DWORD when using Windows XP

Note: Each time the system is rebooted, the value of AutoLogonCount will be decremented by one, until it reaches zero. When AutoLogonCount reaches zero, no account will be logged on automatically, the AutoLogonCount and DefaultPassword key values will be deleted from the registry, and AutoAdminLogon will be set to zero.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|AutoLogonCountREG_SZ"5"|
-
|HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
Name: AutoLogonCount
Type: REG_DWORD (DWORD Value)
Value: Number of Automatic Logins

Related Tweaks

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: October 12, 2002

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License